The Dreamweaver JavaScript API > Deprecated functions > dreamweaver.popupCommand()

 

dreamweaver.popupCommand()

Availability

Dreamweaver 2.0, deprecated in 3.0 in favor of dreamweaver.runCommand().

Description

Executes the specified command. To the user, the effect is the same as choosing the command from a menu; if a dialog box is associated with the command, it appears. This function provides the ability to call a command from another extension file. It blocks other edits until the user dismisses the dialog box.

Note: This function can be called only within objectTag() or in any script in a command or Property Inspector file.

Arguments

commandFile

commandFile is the name of a command file within the Configuration/Commands folder (for example, "Format Table.htm").

Returns

Nothing.